package com.itshare.video.common.config.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;

/**
 * @Author lyr
 * @create 2020/10/24 10:07
 */
@Configuration
@Data
@Lazy
@ConditionalOnProperty(value = "qiniu.oss")
@ConfigurationProperties(prefix = "qiniu.oss")
public class QiniuProperties {

    String accessKey;
    String secureKey;
    String bucketName;
    String urlDomain;
}
